dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b294f9a
)
(bug 15471) Fix regression from r40088 which caused apprefix=Main_Page/ to fail becau...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 4 Sep 2008 13:42:22 +0000
(13:42 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 4 Sep 2008 13:42:22 +0000
(13:42 +0000)
includes/api/ApiQueryBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryBase.php
b/includes/api/ApiQueryBase.php
index
6d5d1ec
..
61fb365
100644
(file)
--- a/
includes/api/ApiQueryBase.php
+++ b/
includes/api/ApiQueryBase.php
@@
-355,7
+355,7
@@
abstract class ApiQueryBase extends ApiBase {
* @return string Title part with underscores
*/
public function titlePartToKey($titlePart) {
- return substr($this->titleToKey($titlePart . '
.
'), 0, -1);
+ return substr($this->titleToKey($titlePart . '
x
'), 0, -1);
}
/**
@@
-364,7
+364,7
@@
abstract class ApiQueryBase extends ApiBase {
* @return string Key part with underscores
*/
public function keyPartToTitle($keyPart) {
- return substr($this->keyToTitle($keyPart . '
.
'), 0, -1);
+ return substr($this->keyToTitle($keyPart . '
x
'), 0, -1);
}
/**